package com.aiserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * AI Java Server 主启动类
 * 
 * @author AI Server Team
 * @version 1.0.0
 */
@SpringBootApplication
@MapperScan("com.aiserver.mapper")
@EnableCaching
@EnableAsync
public class AiJavaServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(AiJavaServerApplication.class, args);
        System.out.println("=================================");
        System.out.println("AI Java Server 启动成功！");
        System.out.println("接口文档地址: http://localhost:8080/api");
        System.out.println("=================================");
    }
}